package com.s2015.doors.beans;

import java.util.HashSet;
import java.util.Set;

/**
 * 窗型 包含 图片路径
 * 
 * @author Guodeqi
 *
 */
public class WindowType {
	// 流水号
	private long id;
	// 描述
	private String description;
	// 图片路径
	private String iconPath;

	// 添加时间
	private Long timeStamp;
	// 添加人
	private Long addMan = -1L;
	// 是否启用 0禁用
	private Integer enable = 1;

	// 与厂商是 多对1 关系
	private Vendor vendor;
	// 与型材是一对多
	private Set<Profile> profiles = new HashSet<Profile>();

	
	public WindowType(){}
	
	public WindowType(long id) {
		super();
		this.id = id;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getIconPath() {
		return iconPath;
	}

	public void setIconPath(String iconPath) {
		this.iconPath = iconPath;
	}

	public Long getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(Long timeStamp) {
		this.timeStamp = timeStamp;
	}

	public Long getAddMan() {
		return addMan;
	}

	public void setAddMan(Long addMan) {
		this.addMan = addMan;
	}

	public Integer getEnable() {
		return enable;
	}

	public void setEnable(Integer enable) {
		this.enable = enable;
	}

	public Vendor getVendor() {
		return vendor;
	}

	public void setVendor(Vendor vendor) {
		this.vendor = vendor;
	}

	public Set<Profile> getProfiles() {
		return profiles;
	}

	public void setProfiles(Set<Profile> profiles) {
		this.profiles = profiles;
	}

}
